package com.wxjfkg.workflow.impl;

import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

@Service("multiInstanceTaskServiceImpl")
public class MultiInstanceTaskServiceImpl implements TaskListener {
	private static final long serialVersionUID = 1L;
	public Logger logger = LoggerFactory.getLogger(MultiInstanceTaskServiceImpl.class);

	@Override
	public void notify(DelegateTask delegateTask) {
		String bussKey = delegateTask.getExecution().getProcessBusinessKey();
		logger.debug(bussKey);
	}
	
}
